<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>全部课程</title>
    <link rel="stylesheet" href="style/book.css">
    <link rel="stylesheet" type="text/css" href="style/pageGroup.css">
    <style>
    	
    	* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body{
				margin: 0;
				
				background-size: inherit; 
			}
    	#login{
		width: 1200px;
		height: 500px;
		background: gainsboro;
		margin:0px auto;
		position: relative;
	}
	    table, tr, td {
            text-align: center;
            border: 1px solid gray;
            border-collapse: collapse;
        }
       
        table {
            width: 60%;
            position: absolute;
            left: 250px;
            top: 30px;
            
        }
        
        .centent{
        	position: absolute;
        	left: 500px;
        	top: 450px;
        }
        
    </style>
</head>
<body>
    <div class="headerwrap">
        <div class="header w1200">
        
        </div>
    </div>
   
    <div class="nav w1200">
        <p>
            <a href="ClassCourseIndex.jsp">首页</a>
        </p>
    </div>
      
       <div id="login">
       	  <table>
            <tr>
  				<td>课程id</td>
				<td>课程名</td>
				<td>日期</td>
				
 			</tr>
			 <c:forEach items="${lists}" var="item">
			  <tr>
			  <td>${item.id }</td>
			   <td>${item.classcoursename }</td>
			   <td>${item.date }</td>
			  
			  </tr>
			 </c:forEach>
			 
       	  </table>

       </div>
</body>
</html>